<!-- 修改密码页面 -->
<% include ../header.ejs %>
    <div class="alterpwd" ng-controller="alterController">
        <div class="myform">
            <form name="alterform" novalidate>
                <input type="hidden" ng-init="sessionaccount='<%=account%>'" ng-model="sessionaccount">
                <div class="form-group">
                    <span>
                        <img src="/images/zhanghao.png" alt="">
                    </span>
                    <input type="text" class="form-control" id="" placeholder="请输入学号/工号" ng-model="account" required>
                </div>
                <div class="form-group">
                    <span>
                        <img src="/images/mima.png" alt="">
                    </span>
                    <input type="text" class="form-control" id="" placeholder="请输入密码" ng-model="password" required>
                </div>
                <div class="form-group">
                    <span>
                        <img src="/images/mima.png" alt="">
                    </span>
                    <input type="text" class="form-control" id="" placeholder="请确认密码" ng-model="confirmpwd" required>
                </div>
                <div class="button">
                    <button type="button" class="btn" ng-click="abandon()" ng-disabled="alterform.$invalid">舍弃更改</button>
                    <button type="button" class="btn" ng-click="alter()" ng-disabled="alterform.$invalid">保存更改</button>
                </div>
            </form>
        </div>
    </div>